package com.springcloud.eshop.enums;

/**
 * @Desc: 数据类型枚举
 * @Date: 2020-07-02
 * @Version:v1.0
 */
public enum DataTypeEnum {
    BRAND("brand", "商品品牌"),
    CATEGORY("category", "商品分类"),
    PRODUCT_INTRO("product_intro", "商品介绍"),
    PRODUCT_SPECIFICATION("product_specification", "商品规格"),
    PRODUCT_PROPERTY("product_property", "商品属性"),
    PRODUCT("product", "商品");

    DataTypeEnum(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    private String type;

    private String desc;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }}